package com.example.controller.testController;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController("/user")
public class testController {

    @RequestMapping("/test")
    public String test(){
        System.out.println("controller运行了！");
        return "success";
    }
}
